package com.zhongzhi.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestMapping;

import com.zhongzhi.springboot.pojo.Aisle;
import com.zhongzhi.springboot.pojo.Bo;
import com.zhongzhi.springboot.pojo.Equipment;
import com.zhongzhi.springboot.pojo.JsonResult;

@Mapper
public interface EquipmentDao{

	//新增设备
	int insert(Equipment equipment);
	//根据id修改
	int update(Equipment equipment);
	//根据id删除
	int delete(Integer id);
	//获取总记录数
	int selectSize();
	//获取查询集合
	List<Equipment> select(Integer pages, Integer line);
	//根据id查询数据
	Equipment selectById(Integer id);
	

	
}
